import axios from '@/utils/request'
// 获取图文资讯
export const getNewsList = () => {
        return axios({
            url: '/api/getnewslist'
        })
    }
    // 获取单篇文章资讯
export const getnew = (newid) => {
    return axios({
        method: 'get',
        url: `/api/getnew/${newid}`,
    })
}